package com.fresh.auth.Service.impl;

import com.fresh.auth.Service.RoleService;
import com.fresh.auth.mapper.Rolemapper;
import com.fresh.entity.Role;
import com.fresh.entity.RolePermissionVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    Rolemapper rolemapper;
    @Override
    public List<Role> getAll() {
        return rolemapper.selectList(null);
    }

    @Override
    public void update(RolePermissionVO rolePermissionVO) {

    }
}
